class Solution:
    def hasIncreasingSubarrays(self, nums: List[int], k: int) -> bool:
        cnt=precnt=0
        for i,x in enumerate(nums):
            cnt+=1
            if i>=len(nums)-1 or x>=nums[i+1]:
                if cnt>=k and precnt>=k or cnt>=2*k: return True 
                precnt=cnt 
                cnt=0
        return False